|
|
|
|
|
|
|
Limitations of Microsoft Jet Encryption |
|
|
|
|
|
|
|
|
You can also use the encryption feature of Microsoft Jet to encode sensitive data. However, you have no control over the type of encryption algorithm used to encode your data. You can only turn encryption on or off using the dbEncrypt or dbDecrypt option constants with the CreateDatabase and CompactDatabase methods. |
|
|
|
|
|
|
|
|
The following list outlines other limitations to consider when using Microsoft Jet encryption. |
|
|
|
|
|
|
|
|
· You cannot encrypt selected tables within a database. When you turn encryption on, it affects all objects in the database. If you have only a few tables that are sensitive, you should consider moving those tables into a separate database for encryption. |
|
|
|
|
|
|
|
|
· If you are deploying your database in an environment where multiple applications access your data, it is possible that these applications might not be able to read the encrypted data. |
|
|
|
|
|
|
|
|
· If you want to take advantage of the replication features of Microsoft Jet, you cannot use encrypted databases. |
|
|
|
|
|
|
|
|
Application security is quite different from database security. Application security focuses on securing not only data but also processes. For example, you can use application security to limit users' ability to use selected data entry forms, produce certain graphs or reports, or run critical procedures (such as month-end closing or mass price updates). |
|
|
|
|
|
|
|
|
Any good application security scheme has two main features. The first is a process that forces users to log into your application using stored passwords. This provides an additional level of security to your Visual Basic database application. As you see later in this chapter, forcing users to log into and out of your application also gives you the opportunity to create audit logs of all user activity. These audit logs can help you locate and fix problems reported by users and give you an additional tool for keeping track of just who is using your application. |
|
|
|
|
|
|
|
|
The second process that is valuable in building an application security system is an access rights scheme. You can use an access rights scheme to limit the functions that particular users can perform within your application. For example, if you want to allow only certain users to perform critical tasks, you can establish an access right for that task and check each user's rights before he or she is allowed to attempt that operation. You can establish access rights for virtually any program operation, including data form entry, report generation, even special processes such as price updates, file exports, and so on. |
|
|
|
|
|